home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-06-16 | 3.0 KB | 138 lines | [TEXT/MPS ] |
- #
- # SCSI VBL Sample
- # Copyright © 1993-94, Apple Computer Inc.
- # All rights reserved.
- #
- # Note: this requires the Macintosh on Risc Toolkit.
- # Power Macintosh does not build yet as the scsi.h file does not
- # include necessary PPC-specific information.
- #
- #
- Src = ":Src:"
- Obj = ":Obj:"
- M68Objects = ∂
- {Obj}AsyncSCSIPresent.c.mo ∂
- {Obj}SCSIVBLSample.c.mo
-
- PPCObjects = ∂
- {Obj}AsyncSCSIPresent.c.po ∂
- {Obj}SCSIVBLSample.c.po
-
- #
- # Directory dependencies. "Everything in the {Obj} directory depends on something
- # in the {Src} directory." Note: you can throw away the contents of the {Obj}
- # directory if you want to rebuild from scratch.
- #
- {Obj} ƒ {Src}
-
- #
- # Compiler dependencies -- common to all compilations The idea here is that all
- # sources are stored in the {Src} subdirectory, and all objects and code resources
- # output by the linker or Rez are stored in the {Obj} subdirectory.
- #
- .c.mo ƒ .c ∂
- {Src}SCSI.h ∂
- {Src}SCSIVBLSample.h
- C {COptions} ∂
- -d MPW=1 ∂
- -o {TargDir}{Default}.c.mo ∂
- {DepDir}{Default}.c
-
- .c.po ƒ .c ∂
- {Src}SCSI.h ∂
- {Src}SCSIVBLSample.h
- PPCC -sym on -appleext on -w off -d MPW ∂
- -o {TargDir}{Default}.c.po ∂
- {DepDir}{Default}.c
-
- #
- # Build the MetroWerks resources
- #
- MetroWerks ƒ ∂
- "SCSI VBLSample.µ.rsrc"
- echo "MetroWerks resources created"
-
- #
- # Build the application.
- #
- "SCSI VBL Sample MPW" ƒƒ ∂
- MakeFile ∂
- "SCSI VBLSample.µ.rsrc" ∂
- {Src}SCSIVBLSample.r
- Rez ∂
- {Src}SCSIVBLSample.r ∂
- -append ∂
- -t APPL ∂
- -i "{CIncludes}" ∂
- -i "{RIncludes}" ∂
- -o {targ}
-
- "SCSI VBL Sample MPW" ƒƒ ∂
- MakeFile ∂
- {M68Objects}
- Link ∂
- -t APPL ∂
- {M68Objects} ∂
- "{Libraries}"Runtime.o ∂
- "{Libraries}"Interface.o ∂
- -o {targ}
-
- "SCSI VBL Sample Fat" ƒƒ ∂
- MakeFile ∂
- {Src}SCSIVBLSample.r
- Rez ∂
- {Src}SCSIVBLSample.r ∂
- -append ∂
- -t APPL ∂
- -i "{CIncludes}" ∂
- -i "{RIncludes}" ∂
- -o {targ}
-
- "SCSI VBL Sample Fat" ƒƒ ∂
- MakeFile ∂
- {M68Objects}
- Link ∂
- -t APPL ∂
- {M68Objects} ∂
- "{Libraries}"Runtime.o ∂
- "{Libraries}"Interface.o ∂
- -o {targ}
-
- "SCSI VBL Sample Fat" ƒƒ ∂
- "{Obj}SCSI VBLSample.xcoff"
- MakePEF ∂
- {deps} ∂
- -l InterfaceLib.xcoff=InterfaceLib ∂
- -l StdCLib.xcoff=StdCLib ∂
- -o {targ} ∂
- -ft APPL -fc '????'
-
- "{Obj}SCSI VBLSample.xcoff" ƒ ∂
- MakeFile ∂
- {PPCObjects}
- PPCLink ∂
- {PPCObjects} ∂
- "{PPCLibraries}"StdCLib.xcoff ∂
- "{PPCLibraries}"InterfaceLib.xcoff ∂
- "{PPCLibraries}"PPCCRuntime.o ∂
- -main main ∂
- -o {targ}
-
- #
- # This builds a project resource file for the
- # Metrowerks DR3 environment. It is also
- # available as a stand-alone Makefile.
- #
- "SCSI VBLSample.µ.rsrc" ƒ ∂
- MakeFile ∂
- {Src}SCSIVBLSample.h ∂
- {Src}SCSIVBLSample.r
- Rez ∂
- {Src}SCSIVBLSample.r ∂
- -append ∂
- -t rsrc ∂
- -c RSED ∂
- -i "{CIncludes}" ∂
- -i "{RIncludes}" ∂
- -o {targ}
-